package com.qlogic.commons.utils.io;

import java.io.Serializable;
import java.lang.reflect.Method;

public class MethodMetaData implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3137827300305713547L;
	private String name;
	private Class clazz;
	private Class [] args;
	public MethodMetaData (Method method) {
		name = method.getName ();
		clazz = method.getDeclaringClass ();
		args = method.getParameterTypes ();
	}
	public Class[] getArgs() {
		return args;
	}
	public void setArgs(Class[] args) {
		this.args = args;
	}
	public Class getClazz() {
		return clazz;
	}
	public void setClazz(Class clazz) {
		this.clazz = clazz;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
